package edu.nf.ch06.container.test.service.impl;

import edu.nf.ch06.container.Component;
import edu.nf.ch06.container.Inject;
import edu.nf.ch06.container.test.dao.UserDao;
import edu.nf.ch06.container.test.service.UserService;

/**
 * @author wangl
 * @date 2025/4/16
 */
@Component("userService")
public class UserServiceImpl implements UserService {

    @Inject("userDao")
    private UserDao userDao;

    @Override
    public void save() {
        userDao.save();
    }
}